xen/arm: alternative: Clean-up __apply_alternatives
authorJulien Grall <julien.grall@arm.com>
Fri, 9 Sep 2016 08:40:07 +0000 (09:40 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 9 Sep 2016 15:47:36 +0000 (11:47 -0400)
commit24e1dea03aa23adc1b700ddc9a0fbc20ccf45ffa
treed010e5c5c3fbb820f68254c609cab5fb6d75057b
parent4c47c47938ea24c73d9459f9f0b6923513772b5d
xen/arm: alternative: Clean-up __apply_alternatives

This patch contains only renaming and comment update. There are no
functional changes:
    - Don't mix _start and _stext, they both point to the same address
    but the former makes more sense (we are mapping the Xen binary, not
    only the text section).
    - s/text_mfn/xen_mfn/ and s/text_order/xen_order/ to make clear that
    we map the Xen binary.
    - Mention about inittext as alternative may patch this section.
    - Use 1U instead of 1 in shift

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/alternative.c